const express = require('express')
const bodyParser = require('body-parser')
const app = express()

require('./db')

app.use(bodyParser.urlencoded({ extended: true }))
app.use(bodyParser.json());

app.use('/api', require('./routes/projectInfo'))

app.listen(3000, () => console.log('Example app listening on port 3000!'))
